package com.fang.springboot.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class ThreeService {

    @Transactional
    public void hello() {
        System.out.printf("测试事物");
    }

}
